Separate shared runtime and benchmark responsibilities - #32
Open
adrian-prior wants to merge 3 commits into
Open
Conversation
adrian-prior
added this pull request to stack #36
September 9, 2026 14:52
adrian-prior
force-pushed
the
refactor/shared-runtime
branch
from
September 11, 2026 10:05
7ac8197 to
dcc1360
Compare
adrian-prior
marked this pull request as ready for review
September 11, 2026 12:14
RDBLearn keeps the v2 and v2.5 recipes it sweeps, TabPFN-Rel the v3 and hosted recipes, and both call the shared fit_tfm with a spec instead of a name wrapper. core.tfm imports torch only inside default_device. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b72b987. Configure here.
|
|
||
| import numpy as np | ||
|
|
||
| from relarena.core.tfm import TFMSpec |
There was a problem hiding this comment.
Example imports removed default_device
Medium Severity
Removing the local fit_tfm wrapper also dropped the module-level default_device binding from relarena.models.tabpfn_rel.tfm. The documented caching example still imports default_device from that module, so it now fails immediately with ImportError before any cache comparison runs.
Reviewed by Cursor Bugbot for commit b72b987. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Separate shared contracts, task sources, tuning, and estimator helpers under
relarena.core. Keep benchmark loading and final refit/evaluation in the host, and backend definitions with their models.Validation: Python 3.11/3.12 tests, pinned pre-commit checks, and wheel/sdist builds.
RDBLearn keeps only its v2 and v2.5 TabPFN recipes, TabPFN-Rel keeps v3 and the hosted backend, and both call the shared
fit_tfmwith a spec. Core imports torch only insidedefault_deviceand falls back to CPU without it.Stack created with GitHub Stacks CLI • Give Feedback 💬